package com.hy.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 
 * @TableName buytable
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Buytable implements Serializable {
    /**
     * 
     */
    private Integer id;

    /**
     * 
     */
    private String buynumber;

    /**
     * 
     */
    private String buyer;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date buytime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date reachtime;

    /**
     * 
     */
    private String requestbuyer;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date requesttime;

    /**
     * 
     */
    private String storecheckperson;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date storechecktime;

    /**
     * 
     */
    private String storefeedbackinfo;

    /**
     * 
     */
    private String managercheckperson;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date managerchecktime;

    /**
     * 
     */
    private String managerfeedbackinfo;

    /**
     * 
     */
    private String lastupdateperson;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastupdatetime;

    /**
     * 
     */
    private Double totalprice;

    /**
     *  0 通过  1未通过  2待审
     */
    private Object state;

    /**
     * 
     */
    private String remark;

    private static final long serialVersionUID = 1L;
}